import service from '../network/service'

// 点选验证码
export const getCaptcha = () => {
    return service({
        url: '/captcha/get',
        method: 'get'
    })
};

// 校验验证码
export const checkCaptcha = (data) => {
    return service({
        url: '/captcha/check',
        method: 'post',
        data: data
    })
};
/*
{
    "dots":"204,105,165,19,253,12",
    "key":"6eb5d39ca1a0f031137ee0d31394f4c6"
}
*/